package com.Cychat.auth.service;


import com.Cychat.auth.entity.VO.LoginParamsVO;
import com.Cychat.auth.params.LoginParams;
import com.Cychat.commons.entity.ResultMessage;
import com.Cychat.commons.entity.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.http.server.reactive.ServerHttpRequest;

/**
 * Auther: 刘博文
 * Date: 2025/10/28:19:49
 * Description: 登录服务
 */
public interface LoginService extends IService<User> {
    ResultMessage<LoginParamsVO> login(LoginParams code, HttpServletResponse response);
    ResultMessage<String> logout(HttpServletRequest request);
}
